import cv2

bgr_img = cv2.imread('statue_small.jpg')
cv2.imshow('source', bgr_img)
b, g, r = cv2.split(bgr_img)

cv2.imshow('B', b)
cv2.imshow('G', g)
cv2.imshow('R', r)

cv2.waitKey()
cv2.destroyAllWindows()
